<?php

    $homeUrl = $this->url->blogHome();

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-tw" lang="zh-tw" >
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="language" content="en" />
    <link rel="stylesheet" type="text/css" href="<?php echo $this->getTemplatePath('rc/style.css'); ?>" />
    <script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/app/app.js"></script>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.12/jquery-ui.min.js"></script>
    <title><?php echo CHtml::encode($this->pageTitle); ?></title>
</head>
<body class="home blog">

  <div id="nav">
    <div id="menus">
      <ul>
        <li class="current_page_item">
          <a href="<?php echo $homeUrl; ?>">首頁</a></li>
      </ul>
      <div class="menu">
        <ul>
          <li class="page_item page-item-2">
            <a href="<?php echo $homeUrl; ?>" title="示例頁面">示例頁面</a></li>
        </ul>
      </div>
    </div>
    <div id="search">
      <form id="searchform" method="get" action="<?php echo $homeUrl; ?>">
        <input type="text" value="站內搜索" onfocus="if (this.value == '站內搜索') {this.value = '';}" onblur="if (this.value == '') {this.value = '站內搜索';}" size="35" maxlength="50" name="s" id="s" />
        <input type="submit" id="searchsubmit" value="搜索" />
      </form>
    </div>
  </div>

  <div id="wrapper">

    <div id="header">
      <h1><a href="<?php echo $homeUrl; ?>"><? echo $this->blog->getName(); ?></a></h1>
      <h2><?php echo $this->blog->getDescription(); ?></h2>
      <div class="clear"></div>
    </div>


    <?php echo $content; ?>



  </div>
  <!--wrapper-->

  <div class="clear"></div>

  <div id="footer">
    <div id="footer-inside">
      <p>版權所有&nbsp;&copy;&nbsp;2011&nbsp; WordPress  &nbsp;|&nbsp;Theme
        <a href="http://zww.me" title="designed by zwwooooo">zBench</a>
        &nbsp;|&nbsp;Powered by
        <a href="http://wordpress.org/">WordPress</a>
      </p>
      <span id="back-to-top">&Delta;
        <a href="#nav" rel="nofollow" title="Back to top">回到頂部</a>
      </span>
    </div>
  </div>
  <!--footer-->



  <script type="text/javascript">

      $(document).ready(function() {
          $(".openWorkWin").click(app.openWorkWindow);
      });

  </script>



</html>